//
//  BaseViewController.m
//  KTVShopProduct
//
//  Created by paeanSs on 2017/11/7.
//  Copyright © 2017年 paeanSs. All rights reserved.
//

#import "BaseViewController.h"

@interface BaseViewController ()

@end

@implementation BaseViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
//    [self setupNavBasicSection];
    [self setupGeneralSection];
    
}
- (void)setupGeneralSection{
    self.view.backgroundColor = [UIColor whiteColor];
}

- (void)setupNavBasicSection{
    [UIApplication sharedApplication].statusBarStyle = UIStatusBarStyleLightContent;
    //设置navBar的背景颜色
    [[UINavigationBar appearance] setBarTintColor:[UIColor blackColor]];
    [[UINavigationBar appearance] setTitleTextAttributes:[NSDictionary dictionaryWithObjectsAndKeys:[UIColor whiteColor],NSForegroundColorAttributeName,[UIFont systemFontOfSize:18],NSFontAttributeName,nil]];
}
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
